<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="WPConfig,com.press2flash.data.WPConfig,APP_PATH,WP_CONFIG,blogDescription,blogFirstPage,blogName,categories,postsAmountPerPage,siteURL,getCategoryById,getCategoryBySlug,getPageById,getPageBySlug" name="keywords">
<title>com.press2flash.data.WPConfig</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'WPConfig - API Documentation';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Press2Flash - Add the Flash experience to your Wordpress-powered Website!</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/press2flash/data/WPConfig.html&amp;com/press2flash/data/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;WPConfig</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class WPConfig"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.press2flash.data</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class WPConfig</td>
</tr>
</table>
<p></p>
  Util class to retrieve information received from the GetConfigSerializer
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../serialization/GetConfigSerializer.html" target="">com.press2flash.serialization.GetConfigSerializer</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#APP_PATH">APP_PATH</a> : String<div class="summaryTableDescription">[static] Holds the path to the flash file </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blogDescription">blogDescription</a> : String<div class="summaryTableDescription">[static][read-only] Return the Blog Description </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blogFirstPage">blogFirstPage</a> : String<div class="summaryTableDescription">[static][read-only] Return the first page to show </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#blogName">blogName</a> : String<div class="summaryTableDescription">[static][read-only] Return the Blog Name </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#categories">categories</a> : XML<div class="summaryTableDescription">[static][read-only] Return the categories </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#postsAmountPerPage">postsAmountPerPage</a> : int<div class="summaryTableDescription">[static][read-only] Return the amount of posts to display on each page </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#siteURL">siteURL</a> : String<div class="summaryTableDescription">[static][read-only] Return the Blog URL </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#WP_CONFIG">WP_CONFIG</a> : XML<div class="summaryTableDescription">[static] Holds wordpress's configuration information </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#WPConfig()">WPConfig</a>(data:XML)</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getCategoryById()">getCategoryById</a>(categoryId:int):XML</div>
<div class="summaryTableDescription">[static]
   Returns the content of the category node : slug, title and id
   </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getCategoryBySlug()">getCategoryBySlug</a>(slugName:String):XML</div>
<div class="summaryTableDescription">[static]
   Returns the content of the category node : slug, title and id
   </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPageById()">getPageById</a>(pageId:int):XML</div>
<div class="summaryTableDescription">[static]
   Returns the content of the page node : slug, title and id
   </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPageBySlug()">getPageBySlug</a>(slugName:String):XML</div>
<div class="summaryTableDescription">[static]
   Returns the content of the page node : slug, title and id
   </div>
</td><td class="summaryTableOwnerCol">WPConfig</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="APP_PATH"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">APP_PATH</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public static var APP_PATH:String</code><p> Holds the path to the flash file </p></div>
<a name="blogDescription"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blogDescription</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>blogDescription:String</code>&nbsp;&nbsp;[read-only]<p> Return the Blog Description </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get blogDescription():String</code>
<br>
</div>
<a name="blogFirstPage"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blogFirstPage</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>blogFirstPage:String</code>&nbsp;&nbsp;[read-only]<p> Return the first page to show </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get blogFirstPage():String</code>
<br>
</div>
<a name="blogName"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">blogName</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>blogName:String</code>&nbsp;&nbsp;[read-only]<p> Return the Blog Name </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get blogName():String</code>
<br>
</div>
<a name="categories"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">categories</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>categories:XML</code>&nbsp;&nbsp;[read-only]<p> Return the categories </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get categories():XML</code>
<br>
</div>
<a name="postsAmountPerPage"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postsAmountPerPage</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>postsAmountPerPage:int</code>&nbsp;&nbsp;[read-only]<p> Return the amount of posts to display on each page </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get postsAmountPerPage():int</code>
<br>
</div>
<a name="siteURL"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">siteURL</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>siteURL:String</code>&nbsp;&nbsp;[read-only]<p> Return the Blog URL </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get siteURL():String</code>
<br>
</div>
<a name="WP_CONFIG"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">WP_CONFIG</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var WP_CONFIG:XML</code><p> Holds wordpress's configuration information </p></div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="WPConfig()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">WPConfig</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function WPConfig(data:XML)</code><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:XML</code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="getCategoryById()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getCategoryById</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getCategoryById(categoryId:int):XML</code><p>
   Returns the content of the category node : slug, title and id
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">categoryId</span>:int</code> &mdash; the category id
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>XML</code> &mdash; XML
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br><category id="1" title="My First Category" slug="my-first-category"/>
      getCategoryById(1).category.<p></p>
</div>
<a name="getCategoryBySlug()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getCategoryBySlug</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getCategoryBySlug(slugName:String):XML</code><p>
   Returns the content of the category node : slug, title and id
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">slugName</span>:String</code> &mdash; the category slug
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>XML</code> &mdash; XML
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br><category id="1" title="My First Category" slug="my-first-category"/>
      getCategoryBySlug(uncategorized).category.<p></p>
</div>
<a name="getPageById()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPageById</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getPageById(pageId:int):XML</code><p>
   Returns the content of the page node : slug, title and id
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">pageId</span>:int</code> &mdash; the page id
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>XML</code> &mdash; XML
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br><page id="27" title="TV-Spot" slug="tv-spot"/>
      getPageById(27).page.<p></p>
</div>
<a name="getPageBySlug()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPageBySlug</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getPageBySlug(slugName:String):XML</code><p>
   Returns the content of the page node : slug, title and id
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">slugName</span>:String</code> &mdash; the slug attribute in the xml
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>XML</code> &mdash; XML
   </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br><page id="27" title="TV-Spot" slug="tv-spot"/>
      getPageBySlug("tv-spot").page.<p></p>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
